package database;

/**
 * Created by jimmyhsu on 2016/12/14.
 */
public class Comment {

    private String studentId;
    private String comment;
    private int courseId;
    private int rating1;
    private int rating2;
    private int rating3;

    public Comment(String studentId, String comment, int courseId, int rating1, int rating2, int rating3) {
        this.studentId = studentId;
        this.comment = comment;
        this.courseId = courseId;
        this.rating1 = rating1;
        this.rating2 = rating2;
        this.rating3 = rating3;
    }
    public Comment(String studentId, String comment, int courseId) {
        this.studentId = studentId;
        this.comment = comment;
        this.courseId = courseId;
    }

    public Comment() {
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public int getCourseId() {
        return courseId;
    }

    public void setCourseId(int courseId) {
        this.courseId = courseId;
    }

    public int getRating1() {
        return rating1;
    }

    public void setRating1(int rating1) {
        this.rating1 = rating1;
    }

    public int getRating2() {
        return rating2;
    }

    public void setRating2(int rating2) {
        this.rating2 = rating2;
    }

    public int getRating3() {
        return rating3;
    }

    public void setRating3(int rating3) {
        this.rating3 = rating3;
    }
}
